﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using blackhouse.BlackApart.Business.Apartments;
using blackhouse.BlackApart.Data;

namespace blackhouse.BlackApart.Business.Company {
	public class ApartmentPromotionBaner {

		#region Properties

		public IApartmentGroup ApartmentGroup { get; set; }
		public string Text { get; set; }
		public string BanerLink { get; set; }

		#endregion

		#region Constructors

		public ApartmentPromotionBaner(ApartmentPromotionBanerData data) {
			this.ApartmentGroup = Factory.Instance().GetApartmentGroup(data.ApartmentGroupId);
			this.BanerLink = data.Baner;
			this.Text = data.Text;
		}

		#endregion

	}
}
